Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

link_encoders_by_count #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

link_encoders_by_count #35

wants to merge 1 commit into from

Conversation

log10
Copy link

@log10 log10 commented Jun 8, 2015

As per Bitly API documentation there should be optional parameters 'login' and 'full_name' for getting information about particular user, so modified user_info method

Method link_encoders_by_count is missing. hence I added it

as per bitly api documentation there should be optional parameters 'login' and 'full_name' for getting information about particular user, so modified user_info method

method link_encoders_by_count is missing. hence I added it
"""return or update info about a user"""
data = self._call_oauth2("v3/user/info", kwargs)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous call should correctly pass login and full_name along when called with .user_info(login=....). Were you encountering a problem with that?

This change is problematic because it switches to _call_oauth2_metrics instead of continuing to use _call_oauth2. Can you revert this change? If you'd like to list login and full_name in the signature, the right way to do that is kwargs['login'] = login etc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants